<template>
	<view>
		<u-notice-bar mode="horizontal" :list="list" v-if="isShow"></u-notice-bar>
	</view>
</template>

<script>
	export default {
		name:"notice",
		data() {
			return {
				isShow:false,
				list:[]
			};
		},
		methods:{
			show(list){
				this.list = list
				this.isShow = true
			},
			close(){
				this.isShow = false
			}
		}
	}
</script>

<style>

</style>